* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 7 Nov 2013 03:02:01 +0000 (05:02 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 7 Nov 2013 03:02:01 +0000 (05:02 +0200)
commit79edc631b77957cf55f5637920e838611a95d3ea
tree036b8c39171823e0ca3a4ca60342be271f5dc127
parent22de35003408672cec3463ec7c2004a5abc73895
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
No implicit semi after "^", "and" or "or".
(ruby-smie-grammar): New tokens: "and" and "or".
(ruby-smie--args-separator-p): Fix the check for tokens at POS.
Exclude "and" and "or".  Remove "do" in order to work around token
priorities.
(ruby-smie-rules): Add all infix tokens.  Handle the case of
beginning-of-buffer.
lisp/ChangeLog
lisp/progmodes/ruby-mode.el
test/indent/ruby.rb